import Vue from 'vue'
import Router from 'vue-router'
// 首页
import HelloWorld from '@/components/HelloWorld'

// 首页路由
import indexRouter from './indexRouter/indexRouter';

// 发现路由
import findRouter from './findRouter/findRouter';

//ge路由
import geRouter from './geRouter/geRouter';

Vue.use(Router)

export default new Router({
  routes: [
    ...indexRouter,
    ...findRouter,
    ...geRouter,
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    }
  ]
})
